Skip to content

Conversation

@glasnt
Copy link
Contributor

@glasnt glasnt commented Feb 20, 2025

Description

Fixes #

Note: If you are not associated with Google, open an issue for discussion before submitting a pull request.

Checklist

Readiness

  • Yes, merge this PR after it is approved
  • No, don't merge this PR after it is approved

@glasnt glasnt marked this pull request as ready for review March 3, 2025 21:21
@glasnt glasnt requested review from a team as code owners March 3, 2025 21:21
@glasnt glasnt added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 5, 2025
@gericdong
Copy link
Contributor

/gcbrun

Copy link
Contributor

@NimJay NimJay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heads-up: The triggering_dags_with_functions_and_pubsub integration test is skipped. See skip: true: https://github.com/terraform-google-modules/terraform-docs-samples/blob/9448c11a05e19853241005f6bfb911e8c0b19002/composer/triggering_dags_with_functions_and_pubsub/test.yaml

But I assume if https://github.com/terraform-google-modules/terraform-docs-samples/blob/main/composer/triggering_dags_with_functions_and_pubsub/pubsub_trigger_response_dag.py worked for python310, it'll likely work for python312? (CC: @glasnt, correct me if you see any obvious incompatibilities in that file)

Approving.

@glasnt
Copy link
Contributor Author

glasnt commented Mar 6, 2025

But I assume if https://github.com/terraform-google-modules/terraform-docs-samples/blob/main/composer/triggering_dags_with_functions_and_pubsub/pubsub_trigger_response_dag.py worked for python310, it'll likely work for python312?

Good catch.

All samples in this repo are only tested that they deploy. A function that is deployed will have basic build checks complete, but will not be tested for valid responses, etc. Given Python 3.10 is still in scope for support for a while, I'll back this out. The major change this intended to fix was to prevent EOL Node deployments.

@glasnt glasnt enabled auto-merge (squash) March 6, 2025 23:28
@glasnt
Copy link
Contributor Author

glasnt commented Mar 7, 2025

/gcbrun

1 similar comment
@glasnt
Copy link
Contributor Author

glasnt commented Mar 7, 2025

/gcbrun

@glasnt glasnt merged commit f634559 into main Mar 7, 2025
9 checks passed
niharika-98 pushed a commit to niharika-98/terraform-docs-samples that referenced this pull request Sep 7, 2025
…s#813)

* fix: update all functions to recent runtimes

* revert change

---------

Co-authored-by: Eric Dong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kokoro:force-run Add this label to force Kokoro to re-run the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants